﻿<%@ 
page language="java" 
import="java.util.*" 
import="com.csd.helper.IConstant"
import="com.csd.vo.UserVO"
import="com.csd.pojo.Score"
pageEncoding="UTF-8"
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page isELIgnored="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
HttpSession s = request.getSession();
UserVO uvo =  (UserVO)s.getAttribute(IConstant.userVO);
if(uvo==null || !uvo.getType().equals(IConstant.teamRole))
{
	response.sendRedirect(path);
}

Score score = (Score)request.getAttribute("score");
if(score==null)
{
	score = new Score();
}

String[] words = (String[])request.getAttribute("words");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>成绩</title>
<link href="<%=path %>/student/css/student_right.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div class="main">
        <h1>各阶段成绩</h1>
        <hr />
        <h3>&nbsp;</h3>
        <table width="100%"> 
          <tr> 
            <td class="table_head" width="100px">阶段名称</td> 
            <td class="table_head" width="100px">评分结果</td> 
            <td class="table_head" >评分专家及其意见</td> 
          </tr> 
          <tr> 
            <td>项目初审</td> 
            <td>
            	<%
            	if(score.getProphasescore() != null && score.getProphasescore()>0)
            	{
            	%>
            	<%=score.getProphasescore() %>
            	<%}else{ %>
            	暂无
            	<%} %>
            </td> 
            <td>
            	<%
            	if(words!=null && words.length>0)
            	{
            	%>
            	<%=words[0] %>
            	<%
            	}else{
            	%>
            	暂无
            	<%} %>   
            </td> 
          </tr> 
          <tr> 
            <td>中期评审</td> 
            <td>
            	<%
            	if(score.getMetaphasescore() != null && score.getMetaphasescore()>0)
            	{
            	%>
            	<%=score.getMetaphasescore() %>
            	<%}else{ %>
            	暂无
            	<%} %>
            </td> 
            <td>
             	<%
            	if(words!=null && words.length>1)
            	{
            	%>
            	<%=words[1] %>
            	<%
            	}else{
            	%>
            	暂无
            	<%} %>   
            </td> 
          </tr> 
          <tr> 
            <td>结题评审</td> 
            <td>
                <%
            	if(score.getTelophasescore() != null && score.getTelophasescore()>0)
            	{
            	%>
            	<%=score.getTelophasescore()%>
            	<%}else{ %>
            	暂无
            	<%} %>
            </td>
            <td>
            	<%
            	if(words!=null && words.length>2)
            	{
            	%>
            	<%=words[2] %>
            	<%
            	}else{
            	%>
            	暂无
            	<%} %>   
            </td> 
          </tr> 
        </table> 
     </div>
</body>
</html>
